import pytest
from selenium.webdriver.support.ui import WebDriverWait
from Po.Page import Page
from Po.Base import Base
from selenium.webdriver.common.by import By
from selenium import webdriver
from ddt import ddt,file_data
import unittest

import time

# @pytest.fixture
class TestCase(unittest.TestCase):
    def setUp(self):
        self.driver=webdriver.Edge()
        self.driver.maximize_window()
        self.driver.implicitly_wait(2)

    # tearDown_monet
    def tearDown(self):
        time.sleep(2)
        self.driver.quit()

    def test_01(self):
        op=Page(self.driver)
        op.baidu()

